public class FizzBuzz {
    private  int number;
    public  FizzBuzz(int num){
        number=num;
    }
    public  String fizzBuzz(){
        if (number%5==0 && number % 3==0)
            return  "FizzBuzz";
        if (number % 3 == 0)
            return "Fizz";
        if (number % 5 == 0)
            return "Buzz";
        if(String.valueOf(number).contains(String.valueOf(5))
                &&String.valueOf(number).contains(String.valueOf(3)))
            return "FizzBuzz";
        if(String.valueOf(number).contains(String.valueOf(3)))
            return "Fizz";
        if(String.valueOf(number).contains(String.valueOf(5)))
            return "Buzz";
        return  String.valueOf(number);
    }

}